package br.com.sorteiotimes.action;

import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.ArrayList;  
import java.util.List;  
import java.util.logging.Logger;

import javax.annotation.PostConstruct;  
import javax.faces.bean.ManagedBean;

import org.primefaces.model.DefaultStreamedContent;
import org.primefaces.model.StreamedContent;
  

@ManagedBean(name="galeria")   
public class Galeria {  
	
	private List<String> images;  
  
    @PostConstruct  
    public void init() {  
        images = new ArrayList<String>();  
  
        for(int i=1;i<=3;i++) {  
            images.add("galeria" +i+ ".jpg");  
        }  
    }  
   
    public List<String> getImages() {  
        return images;  
    }



	public void setImages(List<String> images) {
		this.images = images;
	}  
 }  